package net.xuele.learn.zk;

import org.I0Itec.zkclient.ZkClient;

/**
 * @Author: yubo
 * @date: 15:39 2020/12/11
 * @Description: 类描述
 */

public class ZkTest {

    public static void main(String[] args) {
        ZkClient zkClient = new ZkClient("127.0.0.1:2181");

        // 临时节点不能再创建子节点，只能作为叶子节点
        zkClient.createEphemeral("/zk/book");
    }
}
